package com.letfox.user.model.relation;

import java.io.Serializable;
import java.util.Date;

/**
 * 角色权限
 */
public class URoleAuthority implements Serializable {

	private static final long serialVersionUID = 1L;

	private long id;
	/** 角色编码 */
	private String roleId;
	/** 权限编码 */
	private String authId;
	/** 创建时间 */
	private Date createTime;
	/** 更新时间 */
	private Date updateTime;

	public URoleAuthority() {
	}

	public URoleAuthority(long id, String roleId, String authId,
			Date createTime, Date updateTime) {
		this.id = id;
		this.roleId = roleId;
		this.authId = authId;
		this.createTime = createTime;
		this.updateTime = updateTime;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getAuthId() {
		return authId;
	}

	public void setAuthId(String authId) {
		this.authId = authId;
	}

}
